package com.model.vo.sys.dept;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: zql
 * @Description:
 * @Data: 15:44 2021/7/2
 */
@Data
public class DeptVO {
    @ApiModelProperty(value = "部门id",required = true)
    private Long sysDeptId;

    @ApiModelProperty(value = "父部门id",required = true)
    private Long parentId;

    @ApiModelProperty(value = "祖级列表",required = true)
    private String ancestors;

    @ApiModelProperty(value = "部门名称",required = true)
    private String deptName;

    @ApiModelProperty(value = "显示顺序",required = true)
    private Integer orderNum;

    @ApiModelProperty(value = "负责人",required = true)
    private String leader;

    @ApiModelProperty(value = "联系电话",required = true)
    private String phone;

    @ApiModelProperty(value = "邮箱",required = true)
    private String email;

    @ApiModelProperty(value = "创建时间(yyyy-MM-dd HH:mm:ss)",required = true)
    private Date createTime;

    @ApiModelProperty(value = "创建者",required = true)
    private String creator;

    @ApiModelProperty(value = "更新时间(value = yyyy-MM-dd HH:mm:ss)",required = true)
    private Date updateTime;

    @ApiModelProperty(value = "修改者",required = true)
    private String modifier;

    @ApiModelProperty(value = "0:有效,1:停用,2:删除",allowableValues = "0,1,2",required = true)
    private Byte isDelete;

    @ApiModelProperty(value = "用户数",required = true)
    private Integer userCount;
}
